<div ng-include="'html/component/nav.html'" ng-controller="NavCtrl"></div>
<div class="report_query">
    <div ng-include="'html/component/report.html'" ng-controller="ReportIndexCtrl"></div>
    <div class="report_main report_cont jxcfx_cont">
        <div class="report_top">
            <p class="number">
                <!--期初数量--><span class="name">{{language.TIPS_REPORT_INITAL_NUM}}</span><span class="val">{{qichu_num}}</span>
                <!--期初金额--><span class="name">{{language.TIPS_REPORT_INITAL_MONEY}}</span><span class="val">{{qichu_money}}</span>
                <!--期末数量--><span class="name">{{language.TIPS_REPORT_FINAL_NUM}}</span><span class="val">{{qimo_num}}</span>
                <!--期末金额--><span class="name">{{language.TIPS_REPORT_CUR_DAY}}</span><span class="val">{{qimo_money}}</span>
            </p>
            <span class="btn_group_fr"><span class="btn" ng-click="search()"><!--查询-->{{language.ACT_INQUIRE}}</span><span class="btn" ng-click="columnToggle()" ng-class="persAnimate" ng-model="master"><!--自定义列-->{{language.TIPS_REPORT_CUSTOM_COLUMNS}}</span></span>
        </div>
        <div class="report_form">
            <table class="form_cont">
                <tr>
                    <!-- <th ng-repeat="col in columns">{{col.name}}</th>-->
                    <th ng-show="columns['{{language.TIPS_REPORT_GOODS_CODE}}'].name =='{{language.TIPS_REPORT_GOODS_CODE}}'"><!--商品代码-->{{language.TIPS_REPORT_GOODS_CODE}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_GOODS_NAME}}'].name =='{{language.TIPS_REPORT_GOODS_NAME}}'"><!--商品名称-->{{language.TIPS_REPORT_GOODS_NAME}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_INITAL_NUM}}'].name =='{{language.TIPS_REPORT_INITAL_NUM}}'"><!--期初数量-->{{language.TIPS_REPORT_INITAL_NUM}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_INITAL_MONEY}}'].name =='{{language.TIPS_REPORT_INITAL_MONEY}}'"><!--期初金额-->{{language.TIPS_REPORT_INITAL_MONEY}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_ACLLOCAT_CARGO_IN}}'].name =='{{language.TIPS_REPORT_ACLLOCAT_CARGO_IN}}'"><!--配货入-->{{language.TIPS_REPORT_ACLLOCAT_CARGO_IN}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_ACLLOCAT_CARGO_IN_MONEY}}'].name =='{{language.TIPS_REPORT_ACLLOCAT_CARGO_IN_MONEY}}'"><!--配货入金额-->{{language.TIPS_REPORT_ACLLOCAT_CARGO_IN_MONEY}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_RETURN_OUT_NUM}}'].name =='{{language.TIPS_REPORT_RETURN_OUT_NUM}}'"><!--退货出-->{{language.TIPS_REPORT_RETURN_OUT_NUM}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_RETURN_OUT_MONEY}}'].name =='{{language.TIPS_REPORT_RETURN_OUT_MONEY}}'"><!--退货出金额-->{{language.TIPS_REPORT_RETURN_OUT_MONEY}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_RETAIL_OUT}}'].name =='{{language.TIPS_REPORT_RETAIL_OUT}}'"><!--零售出-->{{language.TIPS_REPORT_RETAIL_OUT}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_RETAIL_OUT_MONEY}}'].name =='{{language.TIPS_REPORT_RETAIL_OUT_MONEY}}'"><!--零售出金额-->{{language.TIPS_REPORT_RETAIL_OUT_MONEY}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_RETAIL_RETURN}}'].name =='{{language.TIPS_REPORT_RETAIL_RETURN}}'"><!--零售退-->{{language.TIPS_REPORT_RETAIL_RETURN}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_RETAIL_RETURN_MONEY}}'].name =='{{language.TIPS_REPORT_RETAIL_RETURN_MONEY}}'"><!--零售退金额-->{{language.TIPS_REPORT_RETAIL_RETURN_MONEY}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_MOVE_STORE_IN}}'].name =='{{language.TIPS_REPORT_MOVE_STORE_IN}}'"><!--移仓入-->{{language.TIPS_REPORT_MOVE_STORE_IN}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_MOVE_STORE_IN_MONEY}}'].name =='{{language.TIPS_REPORT_MOVE_STORE_IN_MONEY}}'"><!--移仓入金额-->{{language.TIPS_REPORT_MOVE_STORE_IN_MONEY}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_MOVE_STORE_OUT}}'].name =='{{language.TIPS_REPORT_MOVE_STORE_OUT}}'"><!--移仓出-->{{language.TIPS_REPORT_MOVE_STORE_OUT}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_MOVE_STORE_OUT_MONEY}}'].name =='{{language.TIPS_REPORT_MOVE_STORE_OUT_MONEY}}'"><!--移仓出金额-->{{language.TIPS_REPORT_MOVE_STORE_OUT_MONEY}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_ADJUST_NUM}}'].name =='{{language.TIPS_REPORT_ADJUST_NUM}}'"><!--调整-->{{language.TIPS_REPORT_ADJUST_NUM}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_ADJUST_MONEY}}'].name =='{{language.TIPS_REPORT_ADJUST_MONEY}}'"><!--调整金额-->{{language.TIPS_REPORT_ADJUST_MONEY}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_FINAL_NUM}}'].name =='{{language.TIPS_REPORT_FINAL_NUM}}'"><!--期末数量-->{{language.TIPS_REPORT_FINAL_NUM}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_FINAL_MONEY}}'].name =='{{language.TIPS_REPORT_FINAL_MONEY}}'"><!--期末金额-->{{language.TIPS_REPORT_FINAL_MONEY}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_NORMAL_PRICE}}'].name =='{{language.TIPS_REPORT_NORMAL_PRICE}}'"><!--标准价-->{{language.TIPS_REPORT_NORMAL_PRICE}}</th>
                    <th ng-show="columns['{{language.TIPS_REPORT_ENTREPOT_MONEY}}'].name =='{{language.TIPS_REPORT_ENTREPOT_MONEY}}'"><!--仓库金额-->{{language.TIPS_REPORT_ENTREPOT_MONEY}}</th>
                </tr>
                <tr ng-repeat="stock in goodsStock">
                    <td ng-show="columns['{{language.TIPS_REPORT_GOODS_CODE}}'].name =='{{language.TIPS_REPORT_GOODS_CODE}}'">{{stock.goods_code}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_GOODS_NAME}}'].name =='{{language.TIPS_REPORT_GOODS_NAME}}'">{{stock.goods_name}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_INITAL_NUM}}'].name =='{{language.TIPS_REPORT_INITAL_NUM}}'">{{stock.start_total_inv_num}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_INITAL_MONEY}}'].name =='{{language.TIPS_REPORT_INITAL_MONEY}}'">{{stock.start_total_inv_money| number:2}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_ACLLOCAT_CARGO_IN}}'].name =='{{language.TIPS_REPORT_ACLLOCAT_CARGO_IN}}'">{{stock.dim_allocate_in_num}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_ACLLOCAT_CARGO_IN_MONEY}}'].name =='{{language.TIPS_REPORT_ACLLOCAT_CARGO_IN_MONEY}}'">{{stock.dim_allocate_in_money| number:2}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_RETURN_OUT_NUM}}'].name =='{{language.TIPS_REPORT_RETURN_OUT_NUM}}'">{{stock.dim_return_out_num}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_RETURN_OUT_MONEY}}'].name =='{{language.TIPS_REPORT_RETURN_OUT_MONEY}}'">{{stock.dim_return_out_money| number:2}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_RETAIL_OUT}}'].name =='{{language.TIPS_REPORT_RETAIL_OUT}}'">{{stock.rbm_sale_num}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_RETAIL_OUT_MONEY}}'].name =='{{language.TIPS_REPORT_RETAIL_OUT_MONEY}}'">{{stock.rbm_sale_money| number:2}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_RETAIL_RETURN}}'].name =='{{language.TIPS_REPORT_RETAIL_RETURN}}'">{{stock.rbm_return_num}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_RETAIL_RETURN_MONEY}}'].name =='{{language.TIPS_REPORT_RETAIL_RETURN_MONEY}}'">{{stock.rbm_return_money| number:2}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_MOVE_STORE_IN}}'].name =='{{language.TIPS_REPORT_MOVE_STORE_IN}}'">{{stock.stm_store_shift_in_num}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_MOVE_STORE_IN_MONEY}}'].name =='{{language.TIPS_REPORT_MOVE_STORE_IN_MONEY}}'">{{stock.stm_store_shift_in_money| number:2}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_MOVE_STORE_OUT}}'].name =='{{language.TIPS_REPORT_MOVE_STORE_OUT}}'">{{stock.stm_store_shift_out_num}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_MOVE_STORE_OUT_MONEY}}'].name =='{{language.TIPS_REPORT_MOVE_STORE_OUT_MONEY}}'">{{stock.stm_store_shift_out_money| number:2}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_ADJUST_NUM}}'].name =='{{language.TIPS_REPORT_ADJUST_NUM}}'">{{stock.stm_stock_adjust_num}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_ADJUST_MONEY}}'].name =='{{language.TIPS_REPORT_ADJUST_MONEY}}'">{{stock.stm_stock_adjust_money| number:2}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_FINAL_NUM}}'].name =='{{language.TIPS_REPORT_FINAL_NUM}}'">{{stock.end_total_inv_num}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_FINAL_MONEY}}'].name =='{{language.TIPS_REPORT_FINAL_MONEY}}'">{{stock.store_money| number:2}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_NORMAL_PRICE}}'].name =='{{language.TIPS_REPORT_NORMAL_PRICE}}'">{{stock.sell_price| number:2}}</td>
                    <td ng-show="columns['{{language.TIPS_REPORT_ENTREPOT_MONEY}}'].name =='{{language.TIPS_REPORT_ENTREPOT_MONEY}}'">{{stock.end_total_inv_money| number:2}}</td>
                </tr>
            </table>
        </div>
        <div class="column_pop" ng-hide="persBox" ng-swipe-right="columnClose();">
            <ul class="shoppe">
                <li ng-repeat="col in cols_list">
                    <input type="checkbox" id="{{col.name}}" ng-model="check[col.name]" ng-checked="{{col.initial}}" ng-click="chooseOne(col.name, check[col.name])">
                    <label for="{{col.name}}"> {{col.name}}</label>
                </li>
            </ul>
        </div>
    </div>
	<button class="load_more" ng-click="scoll.nextpage()"  ng-show="buttonMore == 1"></button>
</div>
